export default (function () {
    const width = document.documentElement.clientWidth;
    const style = document.createElement("style");
    if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
        style.innerHTML = "html{font-size: " + width / 750 + "px !important;}";
    } else {
        style.innerHTML = "html{font-size: 1px !important;width:750px!important;margin:0 auto !important;;}";
    }
    document.head.appendChild(style);
})();